#include "utils.h"
#include <ctime>
void delay(double n)
{
    double start = clock();
    while(true)
    {
        double end = clock();
        if(((end - start)/CLK_TCK) > n)
            break;
    };
}